home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-06-19 | 1.9 KB | 40 lines | [TEXT/MPS ] |
- Sound Asleep
- Version 1.0b1
- ©1992 David Thompson
- AppleLink: DEFT, Attn: Dave Thompson
-
- Sound Asleep is a simple little Application (it's not an INIT/Extension)
- that hides away in the background. If you want it on all the time, put it in your
- Startup Items folder. You might also consider prepending an underscore so that it
- is always the last application in your Application Menu (it's out of the way this
- way).
-
- Sound Asleep will cause your PowerBook or Luggable to Yawn when it is about to go
- asleep and yell at you when it wakes up! Feel free to use ResEdit to change the
- sounds if you like (Yawn is snd ID 128, Wakeup is ID 129) although you may have to
- increase the application size if you add larger sounds.
-
- I did it as an application instead of an INIT because:
- a) it was way easier to debug (no restarting every 3 minutes)
- b) the user can turn it off easily without me writing a cdev (I'm lazy).
- c) Okay, okay, okay, I've never actually written an INIT or a cdev (I'm honest!).
- d) No, really, I didn't have a PowerBook to test it on until 11pm on Hacker's
- Eve and it's a real pain writing a hack for a specific different machine that
- you don't own (and have never really used before)!
-
- This is a first:
-
- This is my first hack, my first attempt at Assembler programming on a Macintosh, and
- my first exposure to PowerBook/MacPortable specific code. I wish I'd had Inside
- Macintosh 1-6 with me - it might have been easier. It was entirely written somewhere
- in the blur between 2am and 11:59pm on June 18, 1992.
-
- Thanks a lot to Andrew McKay for his assistance and thanks to both
- Barry Semo and Chris Russ for lending me their PowerBooks to test on
- even though they were busy trying to get their own hacks done.
-
- Disclaimer:
- The author assumes no responsibility for any damages resulting from the use of this
- application or any portions of it's code.
-
- There, I feel better now. (Yawn) Good night…